﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LuShanTea.Front.Web.Models
{
    public class RegisterInfoModel
    {
        [Required]
        public string NickName { get; set; }

        [Required]
        [StringLength(16)]
        public string PassWord { get; set; }

        [Required]
        [Phone]
        public string PhoneNum { get; set; }

        [Required]
        [EmailAddress]
        public string Email { get; set; }

        [Required]
        public string ValidCode { get; set; }

        [Required]
        public bool Gender { get; set; }
    }
}